<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>RKNPU DDK: TensorAttr Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RKNPU DDK
   &#160;<span id="projectnumber">1.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacerk.html">rk</a></li><li class="navelem"><a class="el" href="namespacerk_1_1nn.html">nn</a></li><li class="navelem"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html">TensorAttr</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">TensorAttr Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="tensor_8h_source.html">tensor.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a9b45b3e13bd9167aab02e17e08916231"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#a9b45b3e13bd9167aab02e17e08916231">name</a></td></tr>
<tr class="memdesc:a9b45b3e13bd9167aab02e17e08916231"><td class="mdescLeft">&#160;</td><td class="mdescRight">name of tensor  <a href="#a9b45b3e13bd9167aab02e17e08916231">More...</a><br /></td></tr>
<tr class="separator:a9b45b3e13bd9167aab02e17e08916231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa050fa50dbc4bb44202d54198d508201"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int32_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#aa050fa50dbc4bb44202d54198d508201">dims</a></td></tr>
<tr class="memdesc:aa050fa50dbc4bb44202d54198d508201"><td class="mdescLeft">&#160;</td><td class="mdescRight">shape of tensor  <a href="#aa050fa50dbc4bb44202d54198d508201">More...</a><br /></td></tr>
<tr class="separator:aa050fa50dbc4bb44202d54198d508201"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a475d6b106a1843d12020b3b9749f70c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965d">PrecisionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#a475d6b106a1843d12020b3b9749f70c8">precision</a></td></tr>
<tr class="memdesc:a475d6b106a1843d12020b3b9749f70c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">precision of tensor  <a href="#a475d6b106a1843d12020b3b9749f70c8">More...</a><br /></td></tr>
<tr class="separator:a475d6b106a1843d12020b3b9749f70c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e351601ce2a4a65f7944e445f3a32af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65c">DataLayoutType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#a3e351601ce2a4a65f7944e445f3a32af">layout</a></td></tr>
<tr class="memdesc:a3e351601ce2a4a65f7944e445f3a32af"><td class="mdescLeft">&#160;</td><td class="mdescRight">data layout of tensor  <a href="#a3e351601ce2a4a65f7944e445f3a32af">More...</a><br /></td></tr>
<tr class="separator:a3e351601ce2a4a65f7944e445f3a32af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e946db3da2bfbc7db84110545bbd36e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#ab7117a78440b149f5bec3994079bb08b">TensorRole</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#a7e946db3da2bfbc7db84110545bbd36e">role</a></td></tr>
<tr class="memdesc:a7e946db3da2bfbc7db84110545bbd36e"><td class="mdescLeft">&#160;</td><td class="mdescRight">role of tensor  <a href="#a7e946db3da2bfbc7db84110545bbd36e">More...</a><br /></td></tr>
<tr class="separator:a7e946db3da2bfbc7db84110545bbd36e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e338a8c60f7460faa3c4c0aa15c6138"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7b">QuantizationType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#a0e338a8c60f7460faa3c4c0aa15c6138">qntType</a></td></tr>
<tr class="memdesc:a0e338a8c60f7460faa3c4c0aa15c6138"><td class="mdescLeft">&#160;</td><td class="mdescRight">quantization type of tensor  <a href="#a0e338a8c60f7460faa3c4c0aa15c6138">More...</a><br /></td></tr>
<tr class="separator:a0e338a8c60f7460faa3c4c0aa15c6138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af14b7858244241bad436bf53b584a990"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#af14b7858244241bad436bf53b584a990">qntBits</a></td></tr>
<tr class="memdesc:af14b7858244241bad436bf53b584a990"><td class="mdescLeft">&#160;</td><td class="mdescRight">quantization bits of tensor  <a href="#af14b7858244241bad436bf53b584a990">More...</a><br /></td></tr>
<tr class="separator:af14b7858244241bad436bf53b584a990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a1177b39d4b7b112020aa458bbd2101"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structrk_1_1nn_1_1_quantization_param_d_f_p.html">QuantizationParamDFP</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#a1a1177b39d4b7b112020aa458bbd2101">qntParamDFP</a></td></tr>
<tr class="memdesc:a1a1177b39d4b7b112020aa458bbd2101"><td class="mdescLeft">&#160;</td><td class="mdescRight">Meanful in dynamic fixed point.  <a href="#a1a1177b39d4b7b112020aa458bbd2101">More...</a><br /></td></tr>
<tr class="separator:a1a1177b39d4b7b112020aa458bbd2101"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65f890e878032135fd44391eb03343f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structrk_1_1nn_1_1_quantization_param_affine_asymmetric.html">QuantizationParamAffineAsymmetric</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#a65f890e878032135fd44391eb03343f3">qntParamAffineAsymmetric</a></td></tr>
<tr class="memdesc:a65f890e878032135fd44391eb03343f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Meanful in affine asymmetric.  <a href="#a65f890e878032135fd44391eb03343f3">More...</a><br /></td></tr>
<tr class="separator:a65f890e878032135fd44391eb03343f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa689c46368687d8ced3ce4a0c5a5044d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structrk_1_1nn_1_1_quantization_param_symmetric.html">QuantizationParamSymmetric</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html#aa689c46368687d8ced3ce4a0c5a5044d">qntParamSymmetric</a></td></tr>
<tr class="memdesc:aa689c46368687d8ced3ce4a0c5a5044d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Meanful in symmetric.  <a href="#aa689c46368687d8ced3ce4a0c5a5044d">More...</a><br /></td></tr>
<tr class="separator:aa689c46368687d8ced3ce4a0c5a5044d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>the structure of <a class="el" href="classrk_1_1nn_1_1_tensor.html">Tensor</a> Attribute </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00094">94</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="aa050fa50dbc4bb44202d54198d508201"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;int32_t&gt; dims</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>shape of tensor </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00096">96</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3e351601ce2a4a65f7944e445f3a32af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65c">DataLayoutType</a> layout</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>data layout of tensor </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00098">98</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9b45b3e13bd9167aab02e17e08916231"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string name</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>name of tensor </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00095">95</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a475d6b106a1843d12020b3b9749f70c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965d">PrecisionType</a> precision</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>precision of tensor </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00097">97</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="af14b7858244241bad436bf53b584a990"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t qntBits</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>quantization bits of tensor </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00102">102</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a65f890e878032135fd44391eb03343f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structrk_1_1nn_1_1_quantization_param_affine_asymmetric.html">QuantizationParamAffineAsymmetric</a> qntParamAffineAsymmetric</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Meanful in affine asymmetric. </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00104">104</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1a1177b39d4b7b112020aa458bbd2101"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structrk_1_1nn_1_1_quantization_param_d_f_p.html">QuantizationParamDFP</a> qntParamDFP</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Meanful in dynamic fixed point. </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00103">103</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa689c46368687d8ced3ce4a0c5a5044d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structrk_1_1nn_1_1_quantization_param_symmetric.html">QuantizationParamSymmetric</a> qntParamSymmetric</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Meanful in symmetric. </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00105">105</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0e338a8c60f7460faa3c4c0aa15c6138"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7b">QuantizationType</a> qntType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>quantization type of tensor </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00101">101</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7e946db3da2bfbc7db84110545bbd36e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacerk_1_1nn.html#ab7117a78440b149f5bec3994079bb08b">TensorRole</a> role</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>role of tensor </p>

<p>Definition at line <a class="el" href="tensor_8h_source.html#l00099">99</a> of file <a class="el" href="tensor_8h_source.html">tensor.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="tensor_8h_source.html">tensor.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
